package com.ruoyi.apartmentmanagement.mapper;

import java.util.List;
import com.ruoyi.apartmentmanagement.domain.Apartmentmanagement;

/**
 * 公寓管理Mapper接口
 * 
 * @author ruoyi
 * @date 2024-10-09
 */
public interface ApartmentmanagementMapper 
{
    /**
     * 查询公寓管理
     * 
     * @param id 公寓管理主键
     * @return 公寓管理
     */
    public Apartmentmanagement selectApartmentmanagementById(Long id);

    /**
     * 查询公寓管理列表
     * 
     * @param apartmentmanagement 公寓管理
     * @return 公寓管理集合
     */
    public List<Apartmentmanagement> selectApartmentmanagementList(Apartmentmanagement apartmentmanagement);

    /**
     * 新增公寓管理
     * 
     * @param apartmentmanagement 公寓管理
     * @return 结果
     */
    public int insertApartmentmanagement(Apartmentmanagement apartmentmanagement);

    /**
     * 修改公寓管理
     * 
     * @param apartmentmanagement 公寓管理
     * @return 结果
     */
    public int updateApartmentmanagement(Apartmentmanagement apartmentmanagement);

    /**
     * 删除公寓管理
     * 
     * @param id 公寓管理主键
     * @return 结果
     */
    public int deleteApartmentmanagementById(Long id);

    /**
     * 批量删除公寓管理
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteApartmentmanagementByIds(Long[] ids);
}
